<%@ page import="com.psl.model.userlogin" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<% userlogin userinfo = (userlogin) session.getAttribute("user");
    if (userinfo == null) {
        response.sendRedirect("/login.do");
    }
    String groupId = request.getParameter("groupId");
    String moduleId = request.getParameter("moduleId");
    if (groupId != null && moduleId == null) {
        response.sendRedirect("/acticle.do?groupId="+ groupId);
    }
    if (groupId != null && moduleId != null) {
        response.sendRedirect("" + request.getAttribute("module1"));

    }
%>
